package com.qiu.exceldeal.devtest.bean;

import com.qiu.exceldeal.ann.TitleName;

import java.util.Date;

/**
 * @Author FireChildren
 * @create 2020/7/1 15:11
 */
public class TestPojo {

    @TitleName(value = "编号")
    private Integer id;
    @TitleName(value = "姓名")
    private String name;
    @TitleName(value = "年龄")
    private String age;
    @TitleName(value = "外号")
    private String nicname;
    @TitleName(value = "出生日期")
    private Date myTime;

    public TestPojo() {
    }

    public TestPojo(Integer id, String name, String age,String nicname,Date birtime) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.nicname=nicname;
        this.myTime=birtime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getNicname() {
        return nicname;
    }

    public void setNicname(String nicname) {
        this.nicname = nicname;
    }

    public Date getMyTime() {
        return myTime;
    }

    public void setMyTime(Date myTime) {
        this.myTime = myTime;
    }

    @Override
    public String toString() {
        return "TestPojo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age='" + age + '\'' +
                ", nicname='" + nicname + '\'' +
                ", myTime=" + myTime +
                '}';
    }
}
